package com.sugar.real.estate.module.business.controller.admin.userbuildingconsult.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用户楼盘咨询 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserBuildingConsultRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29312")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2936")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "楼盘ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20477")
    @ExcelProperty("楼盘ID")
    private Long followId;

    private String nameZhCn;
    private String nameEnUs;

    @Schema(description = "咨询的类型（0公寓 1现房 2建房 3设计方案）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("咨询的类型（0公寓 1现房 2建房 3设计方案）")
    private Integer type;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}